<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>hi</title>


    <style>
        .box1{
            height: 100px;
            background-color: #6eff2c;
            margin-bottom: 10px;
            width: 40%;
            float: right;
        }

          .box2{
            height: 100px;
            background-color: #1950dc;
            margin-bottom: 10px;
              width: 30%;
              float: left;
        }
    </style>
</head>
<body>
<h1>hello</h1>

<div class="box1">1</div>
<div class="box2">1=2</div>
<p>
    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consectetur in laudantium magni natus officia, omnis perferendis rem voluptatum? Ab aperiam cumque dignissimos nemo nostrum soluta ut? Cumque omnis, reiciendis! A?
</p>
<p>
    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consectetur in laudantium magni natus officia, omnis perferendis rem voluptatum? Ab aperiam cumque dignissimos nemo nostrum soluta ut? Cumque omnis, reiciendis! A?
</p><p>
    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consectetur in laudantium magni natus officia, omnis perferendis rem voluptatum? Ab aperiam cumque dignissimos nemo nostrum soluta ut? Cumque omnis, reiciendis! A?
</p>
</body>
</html>